package com.gray.blog.controller.front;

import com.gray.blog.common.annotation.IpCheckTrigger;
import com.gray.blog.common.controller.BaseController;
import com.gray.blog.common.result.ModelResult;
import com.gray.blog.result.sys.GeeksDetailResult;
import com.gray.blog.service.front.FrontGeeksService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import java.util.List;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created  By zhoux 2020/06/09
 **/
@Slf4j
@RestController
@RequestMapping(value = "/open/front/geeks")
@Api(value = "主页极客接口", description = "主页极客相关接口")
@CrossOrigin
public class FrontGeeksController extends BaseController {

    @Autowired
    private FrontGeeksService frontGeeksService;

    @RequestMapping(value = "/", method = RequestMethod.GET)
    @IpCheckTrigger
    @ApiOperation(value = "获取首页极客列表")
    public ModelResult<List<GeeksDetailResult>> getFrontGeeksInfo() {

    }


}
